package com.matt.domain.estimate;

import lombok.Data;
import lombok.EqualsAndHashCode;
import com.matt.commons.model.Model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

/**
 * 教师评价表
 */
@Data
@Entity
@Table(name = "teacher_extend_estimate")
@EqualsAndHashCode(callSuper = true)
public class TeacherExtendEstimate extends Model {

    @Column(columnDefinition = " varchar(32) COMMENT '评测纪录id' ")
    private String id;

    @Column(columnDefinition = " varchar(32) COMMENT '评测纪录父id' ")
    private String parentId;

    @Column(columnDefinition = " varchar(32) COMMENT '教师职工id' ")
    private String staffId;

    @Column(columnDefinition = " varchar(32) COMMENT '评分' ")
    private String rating;

    @Column(columnDefinition = " varchar(500) COMMENT '评价内容' ")
    private String teacherContent;

    @Column(columnDefinition = " varchar(32) COMMENT '评价日期(创建日期)' ")
    private String createDate;

    @Column(columnDefinition = " varchar(32) COMMENT '评价人Id' ")
    private String evaluatorId;

    @Column(columnDefinition = " varchar(32) COMMENT '园区Id' ")
    private String areaId;

    /**
     * 教师名称
     */
    @Column(columnDefinition = " varchar(255) COMMENT '教师名称' ")
    private String staffName;
    /**
     * 评价人姓名  ，
     */
    @Column(columnDefinition = " varchar(255) COMMENT '评价人姓名' ")
    private String evaluatorName;

    /**
     * 评价人姓名  ，
     */
    @Column(columnDefinition = " varchar(32) COMMENT '班级id' ")
    private String classId;

    /**
     * 评价人姓名  ，
     */
    @Column(columnDefinition = " varchar(32) COMMENT '宝宝id' ")
    private String childrenId;
}
